package dto

type SupportDeviceReq struct {
	Platform int `json:"platform"`
}

type SupportDeviceResp struct {
	Platform  int    `json:"platform"`
	Broadcast string `json:"broadcast"`
	Preview   string `json:"preview"`
}

type ListDeviceResp struct {
	ID         int    `json:"id"`
	Platform   int    `json:"platform"`
	Broadcast  string `json:"broadcast"`
	Preview    string `json:"preview"`
	CreateTime string `json:"create_time"`
	UpdateTime string `json:"update_time"`
}

type AddDeviceReq struct {
	Platform  int    `json:"platform"`
	Broadcast string `json:"broadcast"`
	Preview   string `json:"preview"`
}

type UpdateDeviceReq struct {
	ID        int    `json:"id" binding:"required"`
	Platform  int    `json:"platform"`
	Broadcast string `json:"broadcast"`
	Preview   string `json:"preview"`
}
